﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Toybox.NicoSharp.Video.UnitTest
{
	using RiApi;

	[TestClass]
	public class Test_Search : AbstractTester
	{
		[TestMethod]
		public void Test_Search_()
		{
			Search search = Search.Get("ゆっくり");
			Assert.AreEqual("ok", search.status);
		}

		[TestMethod]
		public void Test_Tag()
		{
			Tag tag = Tag.Get("ゆっくり 実況");
			Assert.AreEqual("ok", tag.status);
		}

		[TestMethod]
		public void Test_RelatedVideo()
		{
			RelatedVideo rv = RelatedVideo.Get("sm21385672");
			Assert.AreEqual("ok", rv.status);
		}

		[TestMethod]
		public void Test_UserVideo()
		{
			UserVideo uv = UserVideo.Get("14754175");
			Assert.AreEqual("ok", uv.status);
		}

		[TestMethod]
		public void Test_UploadedVideo()
		{
			UploadedVideo uv = UploadedVideo.Get("14754175");
			Assert.AreEqual("ok", uv.status);
		}

		[TestMethod]
		public void Test_MylistVideo()
		{
			MylistVideo mv = MylistVideo.Get("36721294");
			Assert.AreEqual("ok", mv.status);
		}

	}
}
